package org.lyy.service;

import org.lyy.entity.Order;

import java.util.List;
//import org.springframework.data.domain.Page;
//import org.springframework.data.domain.Pageable;

public interface OrderService {
    //创建订单
    void create(Order order);
    void select();
    void delete(String orderId);
    void update(Order lry);
    List<Order> searchStatus(String payStatus);
    //查询单个订单
   // Order findOne(String orderId);
    //查询订单列表——分页查询
   // Page<Order> findList(String buyerOpenid, Pageable pageable);
    //取消订单
   // Order cancel(Order order);
    //完结订单
   // Order finish(Order order);
    //支付订单
    //Order paid(Order order);
}
